<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="css/style.css" rel="stylesheet" />
<link type="text/css" href="css/index.css" rel="stylesheet" />
<link type="text/css" href="css/patch_home.css" rel="stylesheet" />
<script language="javascript" src="js/jquery-1.11.1.min.js"></script>
<title>管理平台首页</title>
</head>
<body>
<style>
table {font-size:12px;border-collapse:collapse}
table td{border:1px solid #CCCCCC;height:30px;padding:5px}
</style>
  </head>
  <body>
<div class="mG_main">

        <!-- main -->
        <div class="mG_Title"> <span class="img"><img width="16" height="17" src="/images/ico/ico_t1.gif"></span>
          <div class="tits"><a href="list.php">帐户管理</a><em class="line">-&gt;</em><span class="fb">添加外域管理员</span></div>
          <div class="clearit"></div>
        </div>
		<br/>
        <div class="mG_module">
        	<div class="mG_menuTab">
		    	<ul>
		      		<li class="cur"><a href="{$item.value}"><span>{$item.name}</span></a></li>
              <li><a href="{$item.value}"><span>{$item.name}</span></a></li>
		    	</ul>
			</div>
			<br/>
          <div class="user_list">
		<div class="user_list">
        <form name="upform" action="add_user_action.php" method="post">
        <input type="hidden" name="action" value="update" />
        <table cellspacing="0" cellpadding="0" >
			<tr><td width="80">完整邮箱地址</td><td><input disabled="disabled" type="text" name="email" id="email"
					value="{$user.staff}"/> <span style="color:red">*</span></td></tr>
        <tr><td>密码</td><td><input type="password" name="password"  id="password" /> 不修改密码请留空 <span style="color:red">* (请输入6-14位非纯数字)</span></td> </tr>
		<tr><td>姓名</td><td><input type="text" name="name"  id="name" value="{$user.name}" /> <span style="color:red">*</span></td></tr>
		<tr><td>固定电话</td><td><input type="text" name="telephone"  id="telephone"
				value="{$user.telephone}" /> <span style="color:red">(固定电话手机至少添写一项)</span></td></tr>
		<tr><td>手机号码</td><td><input type="text" name="phone" id="phone"  value="{$user.phone}"/></td></tr>
        <tr><td>部门</td><td><select name="parentdep" id="parentdep" style="width:200px">
                       				<option value="-1">大部门</option>
                        		</select>
                        		<select name="subdep" id="subdep" style="width:200px">
                        			<option value="-1">小部门</option>
                        		</select></td></tr>
        <tr><td>地区</td><td>{insert name=prov_city pname=province cname=city pdefval=$user.pid
				cdefval=$user.cid} <span style="color:red">*</span></td> </tr>
        <tr><td>添加原因</td><td><textarea style="width:200px" name="info">{$user.info}</textarea></td></tr>
        </table>
            <div style="margin-top:10px">
            <a href="javascript:void(0);" class="btn_green_s" id="add_user"><em>{if $user.staff}更 新{else}添 加{/if}</em></a>
            <a onclick="window.history.back()" href="javascript:void(0);" class="btn_green_s"><em>取 消</em></a>
            </div>
        </form>
	</div>
    </div>
        </div>
        <!-- /main-->
        <div class="clearit"></div>
	  </div>
  </body>
</html>
